package com.ruoyi.project.system.modularshow.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 模块展示对象 modular_show
 *
 * @author LCL
 * @date 2021-12-08
 */
public class ModularShow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 模块名 */
    @Excel(name = "模块名")
    private String name;

    /** 图片 */
    @Excel(name = "图片")
    private String headUrl;

    /** 状态：0-隐藏 1-显示 */
    @Excel(name = "状态：0-隐藏 1-显示")
    private Integer status;

    /** 类型：1-行情走势 2-名片大全 3-热门视频 4-企业招聘 5-问答知道 6-行业新闻 */
    @Excel(name = "类型：1-行情走势 2-名片大全 3-热门视频 4-企业招聘 5-问答知道 6-行业新闻")
    private Integer type;

    /** 相关资源ID */
    @Excel(name = "相关资源ID")
    private String resId;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 删除标记：0-正常 1-删除 */
    @Excel(name = "删除标记：0-正常 1-删除")
    private Integer delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setHeadUrl(String headUrl)
    {
        this.headUrl = headUrl;
    }

    public String getHeadUrl()
    {
        return headUrl;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setResId(String resId)
    {
        this.resId = resId;
    }

    public String getResId()
    {
        return resId;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("headUrl", getHeadUrl())
            .append("status", getStatus())
            .append("type", getType())
            .append("resId", getResId())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
